<!DOCTYPE html>
<html lang="<%= I18n.locale %>">
  <head>
    <%= javascript_importmap_tags 'application-spree-backend' %>
  </head>
  <body class="admin min-vh-100 <%= controller_name %> <%= action_name %>" data-controller="spree">
    <div class="container-fluid">
      <div class="row justify-content-center">
        <div class="col-lg-3 col-xl-2 d-none d-lg-block position-relative px-2">
          <%#= render 'spree/admin/shared/sidebar' %>
        </div>
        <div class="col-lg-9 col-xl-10 px-0 pb-5 mb-3 pt-lg-2">
          <main id="content" class="container">
            <% if content_for?(:table_filter) || content_for?(:table_filter_dropdown) %>
              <div class="card-lg p-0 mb-lg-3">
                <%= yield %>
              </div>
            <% else %>
              <%= yield %>
            <% end %>
          </main>
        </div>
      </div>
    </div>
  </body>
</html>
